Skip to content

refactor: ActionBar directive and patching of Views in renderer #979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 7, 2017

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Sep 4, 2017

  • refactor(renderer): invoke removeFromQueue for every element

  • refactor(action-bar): insert ActionItems at correct positions
    ActionBar's insertChild method is now passed a next view argument. When the view to insert is an ActionItem, next is used to find the correct position to insert the new item.

  • refactor(renderer): patch every View with ViewExtensions
    When a View is passed through the renderer on insert/remove it's patched
    with ViewExtensions for its class. That is done for parent views and for
    child views.

fixes #689, fixes #978

@sis0k0 sis0k0 added this to the 4.3 milestone Sep 4, 2017
@sis0k0 sis0k0 requested a review from vakrilov September 4, 2017 18:20
@ghost ghost assigned sis0k0 Sep 4, 2017
@sis0k0 sis0k0 added the renderer label Sep 7, 2017
@dtopuzov
Copy link
Contributor

dtopuzov commented Sep 7, 2017

run ci

ActionBar's insertChild method is now passed a `next` view argument. When the view to insert is an ActionItem, `next` is used to find the correct position to insert the new item.

fixes #689
When a View is passed through the renderer on insert/remove it's patched
with ViewExtensions for its class. That is done for parent views and for
child views.

fixes #978
@sis0k0 sis0k0 force-pushed the vlaeva/action-bar-refactoring branch from 3599e12 to cac0831 Compare September 7, 2017 12:14
@sis0k0 sis0k0 merged commit 389f5b7 into master Sep 7, 2017
@sis0k0 sis0k0 deleted the vlaeva/action-bar-refactoring branch September 7, 2017 13:09
@ghost ghost removed the ready for test label Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants